package cn.legend.travel.destination.main.dao.persist.mapper;

import cn.legend.travel.common.pojo.po.SceneryPO;
import cn.legend.travel.destination.main.pojo.entity.Scenery;
import cn.legend.travel.destination.main.pojo.vo.RegionVO;
import cn.legend.travel.destination.main.pojo.vo.SceneryVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SceneryMapper extends BaseMapper<Scenery> {
    List<SceneryPO> selectByBestinationId(Long destinationId);
    List<SceneryPO> selectByBestinationIds(Long destinationId,int pageSize, int pageNumber );
    List<RegionVO> selectById(Long destinationId);
    List<RegionVO> selectFormRegionVO(Long id);
    List<SceneryVO> selectAll();
    int selectCountDistrict(Long id);
    int selectCountHotel(Long id);
    int selectCountDelicacy(Long id);
}
